import { get, post } from '@/utils/request'

export default {
  index: () => post('/api/admin/dashboard/index'),
  taskResultNewest: taskId => get('/api/admin/dashboard/taskResultNewest/' + taskId),
  taskResultInfo: taskId => get('/api/admin/dashboard/taskResultInfo/' + taskId),
  batchTaskList: () => get('/api/admin/dashboard/batchTaskList'),
  getTestResultByTaskId: taskId => get('/api/admin/dashboard/testResultList/' + taskId)
}
